package com.jinbiao.quasar.model;

import lombok.Data;
import org.sagacity.sqltoy.config.annotation.Column;
import org.sagacity.sqltoy.config.annotation.Entity;

import java.sql.Types;

@Data
@Entity(tableName = "sys_menu")
public class SysMenu extends BaseModel{
    @Column(name = "parent_code", type = Types.VARCHAR)
    private String parentCode;
    @Column(name = "name", type = Types.VARCHAR)
    private String name;
    @Column(name = "path", type = Types.VARCHAR)
    private String path;
    @Column(name = "component", type = Types.VARCHAR)
    private String component;
    @Column(name = "redirect", type = Types.VARCHAR)
    private String redirect;
    @Column(name = "title", type = Types.VARCHAR)
    private String title;
    @Column(name = "icon", type = Types.VARCHAR)
    private String icon;
    @Column(name = "hidden", type = Types.VARCHAR)
    private String hidden;
    @Column(name = "keep_alive", type = Types.VARCHAR)
    private String keepAlive;
    @Column(name = "is_link", type = Types.VARCHAR)
    private String isLink;
}
